]> dgit.raspbian.org Git - gnome-shell.git/commit
ShellButtonBox: only listen to button 1 and single clicks
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 29 Aug 2009 17:25:32 +0000 (13:25 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sat, 29 Aug 2009 19:20:18 +0000 (15:20 -0400)
commit0fd6bc517241b5ae222a873e8568e72e41c71aa2
treeb340e9164087094ede06b284748d40ed8ca2959c
parent0e3cea41e0aa75b3e9603429215009f65d61144d
ShellButtonBox: only listen to button 1 and single clicks

Only mouse button 1 is supposed to activate button controls; other
mouse buttons should do nothing unless there is a context menu.

Checking the click count is important, since double-clicks will
otherwise look like unpaired button presses.

http://bugzilla.gnome.org/show_bug.cgi?id=593504
src/shell-button-box.c